[INFO] cloning repository https://github.com/ashfordneil/heimdall
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashfordneil/heimdall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8de65b6ff1e719d1c731222b4e87189368e2cbda
[INFO] building ashfordneil/heimdall against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ashfordneil/heimdall on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ashfordneil/heimdall
[INFO] finished tweaking git repo https://github.com/ashfordneil/heimdall
[INFO] tweaked toml for git repo https://github.com/ashfordneil/heimdall written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/ashfordneil/heimdall already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6276e2502903ab6c74db6604be3df801e884416b4feb90c12f8c1f607a3acc87
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6276e2502903ab6c74db6604be3df801e884416b4feb90c12f8c1f607a3acc87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6276e2502903ab6c74db6604be3df801e884416b4feb90c12f8c1f607a3acc87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6276e2502903ab6c74db6604be3df801e884416b4feb90c12f8c1f607a3acc87", kill_on_drop: false }`
[INFO] [stdout] 6276e2502903ab6c74db6604be3df801e884416b4feb90c12f8c1f607a3acc87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28f79bab5fc74fe7307083ddf6efeab304b0987b0ddd7a43e37b79e86e4b594c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "28f79bab5fc74fe7307083ddf6efeab304b0987b0ddd7a43e37b79e86e4b594c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling proc-macro2 v1.0.20
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling errno v0.2.6
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling const-random v0.1.8
[INFO] [stderr]    Compiling ahash v0.4.4
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling structopt-derive v0.4.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling structopt v0.3.17
[INFO] [stderr]    Compiling heimdall v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/glob.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{ffi::OsStr, iter};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `either::Either`
[INFO] [stdout]  --> src/glob.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use either::Either;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/tree.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/tree.rs:171:16
[INFO] [stdout]     |
[INFO] [stdout] 171 |             if (path.as_bytes() == b".gitignore" && file_type == FileType::Regular) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From<u32>` is not satisfied
[INFO] [stdout]    --> src/fs.rs:115:25
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ the trait `From<u32>` is not implemented for `fs::FileType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<fs::FileType>` for `u32`
[INFO] [stdout]     = note: required because of the requirements on the impl of `TryFrom<u32>` for `fs::FileType`
[INFO] [stdout]     = note: required by `try_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error`
[INFO] [stdout]    --> src/fs.rs:115:56
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                                                        ^ the trait `From<Infallible>` is not implemented for `error::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <error::Error as From<std::io::Error>>
[INFO] [stdout]     = note: required by `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From<u32>` is not satisfied
[INFO] [stdout]    --> src/fs.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ the trait `From<u32>` is not implemented for `fs::FileType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<fs::FileType>` for `u32`
[INFO] [stdout]     = note: required because of the requirements on the impl of `TryFrom<u32>` for `fs::FileType`
[INFO] [stdout]     = note: required by `try_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error`
[INFO] [stdout]    --> src/fs.rs:133:56
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                                                        ^ the trait `From<Infallible>` is not implemented for `error::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <error::Error as From<std::io::Error>>
[INFO] [stdout]     = note: required by `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `heimdall`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "28f79bab5fc74fe7307083ddf6efeab304b0987b0ddd7a43e37b79e86e4b594c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28f79bab5fc74fe7307083ddf6efeab304b0987b0ddd7a43e37b79e86e4b594c", kill_on_drop: false }`
[INFO] [stdout] 28f79bab5fc74fe7307083ddf6efeab304b0987b0ddd7a43e37b79e86e4b594c
